Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use builtin reference names in foreign decompiling #5216

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

dolio
Copy link
Contributor

@dolio dolio commented Jul 12, 2024

This change makes e.g. a printed promise look like bug "<Promise>" instead of bug "<Foreign>". I don't think there are any foreign values that have hash based references, but if there are, they'll fall back to just printing <Foreign>.

E.G. print <Promise> instead of <Foreign>
@dolio dolio requested review from aryairani and ceedubs July 12, 2024 17:30
@aryairani
Copy link
Contributor

Nice!

@aryairani
Copy link
Contributor

aryairani commented Jul 12, 2024

But would you want to show more, if you have more, in the non-Builtin case, too?

@aryairani aryairani added the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Jul 12, 2024
Copy link
Contributor

@ceedubs ceedubs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@mergify mergify bot merged commit 212a232 into trunk Jul 12, 2024
35 checks passed
@mergify mergify bot removed the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Jul 12, 2024
@mergify mergify bot deleted the topic/decomp-foreign branch July 12, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants